home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
Projects
/
Examples
/
How To
/
Using UK Keyboard
< prev
Wrap
Text File
|
1998-10-26
|
981b
|
29 lines
;; uk-keyboard.lisp
;;
;; On a UK keyboard the sharp sign character ("#") is hard to
;; type to MCL. It requires two keystrokes: <Control>-q <Option>-3.
;; This file removes the need for the <Control>-q. The sharp sign
;; character can now be typed with <Option>-3 (alt-3).
;; Thanks to Ralph Martin.
;; To make these changes in effect permanently, drag this file to
;; the Environment/Extensions folder and reboot SCOM.
(in-package :ccl)
(def-fred-command (:meta #\3)
#'(lambda (w) (let ((*current-character* #\#)) (ed-self-insert w))))
;; Some of you will prefer to type the sharp sign with <Shift>-3, and the
;; British pound sign with <Option>-3. Uncomment this code (by commenting
;; out the "#+swap-pounds" line) to set it up that way.
#+swap-pounds
(progn
(def-fred-command #\243
#'(lambda (w) (let ((*current-character* #\#)) (ed-self-insert w))))
(def-fred-command (:meta #\3)
#'(lambda (w) (let ((*current-character* #\243)) (ed-self-insert w))))
)